rescue (someone) at the last minute

Translations
спасать (кого-то) в последний момент
The team rescued the project at the last minute by working overtime.
Команда спасла проект в последний момент, работая сверхурочно.
Definitions
To save or help someone from a difficult or dangerous situation just before it becomes too late.